package com.ruoyi.system.domain;

import java.math.BigDecimal;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * 菜单菜品对象 menu_item
 * 
 * @author ruoyi
 * @date 2025-03-14
 */

public class MenuItem extends BaseEntity
{
    private static long serialVersionUID = 1L;

    /** 菜品ID */
    private Long id;

    /** 菜品名称 */
    @Excel(name = "菜品名称")
    private String name;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    /** 价格 */
    @Excel(name = "价格")
    private BigDecimal price;

    /** 图片链接 */
    @Excel(name = "图片链接")
    private String imageUrl;

    /**  */
    @Excel(name = "")
    private String categoryName;

    /** 分类ID */
    private Long categoryId;

    private int checkNumber;

    private Integer isDelete;

    /** 状态：1-上架，0-下架 */
    @Excel(name = "状态：1-上架，0-下架")
    private Integer status;

    public MenuItem() {
    }

    public MenuItem(long serialVersionUID, Long id, String name, String description, BigDecimal price, String imageUrl, String categoryName, Long categoryId, int checkNumber, Integer isDelete, Integer status) {
        this.serialVersionUID = serialVersionUID;
        this.id = id;
        this.name = name;
        this.description = description;
        this.price = price;
        this.imageUrl = imageUrl;
        this.categoryName = categoryName;
        this.categoryId = categoryId;
        this.checkNumber = checkNumber;
        this.isDelete = isDelete;
        this.status = status;
    }

    /**
     * 获取
     * @return id
     */
    public Long getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 获取
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * 设置
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取
     * @return description
     */
    public String getDescription() {
        return description;
    }

    /**
     * 设置
     * @param description
     */
    public void setDescription(String description) {
        this.description = description;
    }

    /**
     * 获取
     * @return price
     */
    public BigDecimal getPrice() {
        return price;
    }

    /**
     * 设置
     * @param price
     */
    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    /**
     * 获取
     * @return imageUrl
     */
    public String getImageUrl() {
        return imageUrl;
    }

    /**
     * 设置
     * @param imageUrl
     */
    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    /**
     * 获取
     * @return categoryName
     */
    public String getCategoryName() {
        return categoryName;
    }

    /**
     * 设置
     * @param categoryName
     */
    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    /**
     * 获取
     * @return categoryId
     */
    public Long getCategoryId() {
        return categoryId;
    }

    /**
     * 设置
     * @param categoryId
     */
    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }

    /**
     * 获取
     * @return checkNumber
     */
    public int getCheckNumber() {
        return checkNumber;
    }

    /**
     * 设置
     * @param checkNumber
     */
    public void setCheckNumber(int checkNumber) {
        this.checkNumber = checkNumber;
    }

    /**
     * 获取
     * @return isDelete
     */
    public Integer getIsDelete() {
        return isDelete;
    }

    /**
     * 设置
     * @param isDelete
     */
    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    /**
     * 获取
     * @return status
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * 设置
     * @param status
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

    public String toString() {
        return "MenuItem{serialVersionUID = " + serialVersionUID + ", id = " + id + ", name = " + name + ", description = " + description + ", price = " + price + ", imageUrl = " + imageUrl + ", categoryName = " + categoryName + ", categoryId = " + categoryId + ", checkNumber = " + checkNumber + ", isDelete = " + isDelete + ", status = " + status + "}";
    }
}
